Skip to content

Pin GitHub Actions to commit SHAs - #764

Merged
lawofcycles merged 1 commit into
opensearch-project:mainfrom
Divyaasm:pin-actions-to-sha
May 24, 2026
Merged

Pin GitHub Actions to commit SHAs#764
lawofcycles merged 1 commit into
opensearch-project:mainfrom
Divyaasm:pin-actions-to-sha

Conversation

@Divyaasm

Copy link
Copy Markdown
Contributor

Description

Pin all GitHub Action tag references to their corresponding commit SHAs.

Tags are mutable references that can be force-pushed to point to different commits, making them vulnerable to supply chain attacks. Commit SHAs are immutable and guarantee that the exact reviewed code is executed in CI workflows. This change pins all third-party actions to their current commit SHAs to prevent potential tampering.

Signed-off-by: Divya Madala <divyaasm@amazon.com>

@lawofcycles lawofcycles left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lawofcycles
lawofcycles merged commit d6dfa02 into opensearch-project:main May 24, 2026
17 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants